Xbasic

UI_PRINTER_OPTIONS_GET Function

Syntax

V UI_PRINTER_OPTIONS_GET(C printername,P options)

Arguments

printername

The name of a printer.

options

A dot variable that returns printer options.

Description

The UI_PRINTER_OPTIONS_GET() function retrieves a list of printer field options.

Example

dim ptr as P
dim ptr.dummy as L = .t.
ui_printer_options_get("\\doc-build\Brother MFC9600 on Ne03:", ptr)
? ptr2
= collate = .F.
color = Color
Monochrome
copies = 0
defaultsource = Automatically Select
Auto
Upper Paper Tray
Lower Paper Tray
Manual Paper Feed
...

Limitations

Desktop applications only.

See Also